package com.fmdj.bff.driver.feign;

import com.fmdj.bff.driver.controller.form.*;
import com.fmdj.common.util.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "fmdj-dr")
public interface DrServiceApi {
    @PostMapping("/driver/registerDriver")
    CommonResult registerDriver(RegisterDriverForm form);

    @PostMapping("/driver/updateDriverAuth")
    public CommonResult updateDriverAuth(UpdateDriverAuthForm form);

    @PostMapping("/driver/login")
    CommonResult login(LoginForm form);

    @PostMapping("/driver/selectDriverInfo")
    CommonResult selectDriverInfo(SelectDriverInfoForm form);

    @PostMapping("/settings/selectDriverSettings")
    CommonResult selectDriverSettings(SelectDriverSettingsForm form);

    /**
     * 移动端：查询司机实名认证信息接口
     * */
    @PostMapping("/driver/selectDriverInfoById")
    CommonResult selectDriverInfoById(SelectDriverAuthForm form);

    @PostMapping("/driver/updateDriverRealAuth")
    CommonResult updateDriverRealAuth(UpdateDriverRealAuthForm form);





}
